System and method for secure pairing of Bluetooth devices

ABSTRACT

A mobile device includes a Bluetooth transceiver, the Bluetooth transceiver being in an idle power state when not securely paired to a second Bluetooth transceiver of a peripheral device. The mobile device further includes an audio interface, the audio interface coupled to the Bluetooth transceiver, the audio interface configured to connect to a second audio interface of the peripheral device. The mobile device is configured to establish an out-of-band audio communication channel to the peripheral device by connecting the audio interface to the second audio interface, the mobile device configured to exchange Bluetooth authentication data with the peripheral device via the out-of-band audio communication channel in response to transitioning to an operating state, the mobile device configured to initialize the Bluetooth transceiver with the Bluetooth authentication data to establish an authenticated and cryptographically protected in-band Bluetooth communication channel allowing the mobile device to be securely paired with the peripheral device.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a Continuation of U.S. application Ser. No. 16/577,187, filed Sep. 20, 2019, entitled SYSTEM AND METHOD FOR SECURE PAIRING OF BLUETOOTH DEVICES , which is a Continuation of U.S. application Ser. No. 16/046,598, filed Jul. 26, 2018, and entitled SYSTEM AND METHOD FOR SECURE PAIRING OF BLUETOOTH DEVICES, issued as U.S. patent application Ser. No. 10,425,794, on Sep. 24, 2019, which is a Continuation of U.S. patent application Ser. No. 15/832,982, filed on Dec. 6, 2017, entitled SYSTEM AND METHOD FOR SECURE PAIRING OF BLUETOOTH DEVICES , issued as U.S. Pat. No. 10,064,040, on Aug. 28, 2018. Application Ser. No. 15/832,982 is a Continuation of U.S. patent application Ser. No. 15/098,844, filed on Apr. 14, 2016, and entitled SYSTEM AND METHOD FOR SECURE PAIRING OF BLUETOOTH DEVICES, issued as U.S. Pat. No. 9,866,991, on Jan. 9, 2018. Application Ser. No. 15/098,844 is a Continuation of U.S. patent application Ser. No. 14/222,756, filed on Mar. 24, 2014, and entitled SYSTEM AND METHOD FOR SECURE PAIRING OF BLUETOOTH DEVICES, issued as U.S. patent application Ser. No. 9,344,185, on May 17, 2016, which claims the benefit of U.S. provisional application Ser. No. 61/805,538, filed on Mar. 27, 2013 and entitled SYSTEM AND METHOD FOR SECURE PAIRING OF BLUETOOTH DEVICES. U.S. Pat. Nos. 10,425,794, 10,064,040, 9,866,991, and 9,344,185, and U.S. patent application Ser. Nos. 16/577,187, 16/046,598, 15/832,982, 15/098,844, 14/222,756 and 61/805,538 are incorporated by reference in their entirety.

TECHNICAL FIELD

The present invention relates to a system and a method for secure pairing of Bluetooth devices using an out-of-band (OOB) audio channel.

BACKGROUND

Portable personal computing devices such as Smartphones, Personal Digital Assistants (PDAs), portable computers, tablet computers and audio devices such as digital music players have become ubiquitous in recent years. These devices usually have different built-in physical electrical interfaces such as USB, FireWire, RS232 serial port and audio plug, among others. In almost all of these devices, and in particular in the audio devices, the audio plug is a common interface. The audio plug of a device acts as a receptacle for an audio jack connector which is used for transmitting analog signals including audio signals. The audio plug is used to connect to headphones, speakers, microphones, and hands-free devices, among others.

In the past, many mobile phones used to have their own proprietary form of audio plugs configured to be used with cables outfitted with matching proprietary audio jacks. However, recently the functionality of mobile phones has changed so much that most mobile phones are now also digital music players, payment devices, navigation devices and cameras, among others. Additional accessory devices including headphones, printers, and card readers, among others, may be connected to the mobile phones in order listen to music, print and complete payments, among others. Therefore, due to these added functionalities and the need to connect additional accessory devices to mobile phones, 2.5 mm audio plugs and/or 3.5 mm audio plugs can now be found on most middle to high-end mobile phones.

Besides wired connections, many portable devices are equipped with wireless connection capabilities such as Bluetooth, Wi-Fi or WiMAX, among others. In a wired connection where the devices are physically connected, the data security is less of a concern. Unlike wired connections, eavesdropping is possible in wireless connections and the data must be cryptographically protected and the two communicating devices must be authenticated with one another. A pairing process is necessary to establish this secure connection.

Bluetooth is a proprietary low-powered wireless technology for short-distance communication. The characteristics of Bluetooth make it a competitive candidate for data communication technology between a host device and other peripheral devices. Before the two devices can communicate, a pairing process has to be done first to establish a secure connection between the two Bluetooth devices. In the pairing process, the devices exchange and establish their common link keys used for the secure connection. The link keys are stored and further connections can be done without user interaction.

The number of devices equipped both with an audio plug interface and Bluetooth technology is expected to increase rapidly. The audio interface can be used for data transfer but the data rate is limited. Bluetooth can support a higher data rate but it is preferable to keep the Bluetooth transceiver off to save power and reduce radiation. Accordingly, there is a need for a simple and efficient way to enable wireless device pairing where control side information is communicated through an alternative channel.

SUMMARY

The invention provides a secure and convenient way to pair Bluetooth devices using an out-of-band (OOB) audio channel.

In general, in one aspect, the invention provides a system of securely paired Bluetooth devices including a host device and a peripheral device. The host device includes an audio interface and a Bluetooth transceiver and the peripheral device includes an audio interface and a Bluetooth transceiver. The host device and the peripheral device are configured to connect to each other by physically connecting their corresponding audio interfaces and to communicate with each other by establishing an out-of-band audio communication channel via the connected audio interfaces. The host device and the peripheral device are configured to exchange Bluetooth authentication data via the out-of-band audio communication channel. The host device and the peripheral device are configured to be subsequently securely paired with each other by establishing an authenticated and cryptographically protected in-band Bluetooth communication channel with each other by turning on and initializing the corresponding Bluetooth transceivers with the corresponding exchanged Bluetooth authentication data.

Implementations of this aspect of the invention may include one or more of the following features. The in-band Bluetooth communication channel between the host device and the peripheral device is established automatically upon detection of the presence of the host device by the peripheral device and vice versa. The Bluetooth authentication data may be authentication code, PIN code, “Bluetooth Device Address”, “Simple Pairing Hash C” or “Simple Pairing Randomizer R”. Communications between the host device and the peripheral device via the out-of-band audio communication channel are two-way communications and use modulations including Manchester coding, Frequency Shifted Keying (FSK), or Phase-Shifted Keying (PSK). The turning on or off of the Bluetooth transceivers is controlled through the out-of-band audio communication channel to reduce power consumption and radiation by the Bluetooth transceivers. The host device is paired with the peripheral device using Bluetooth pairing protocols including Legacy Pairing, Secure Simple Pairing (SSP), or Out-of-Band (OOB) Pairing. The host and peripheral devices comprise computing devices and the computing devices include desktop computers, mobile phones, personal digital assistants (PDAs), netbooks, tablet computers, notebook computers, electronic readers, digital music players, digital video players, game consoles, or computing circuits. The peripheral device is initially in a sleep mode and the host device is configured to wake up the peripheral device by sending a command via the out-of-band audio communication channel. The command includes frequency tone or data packet. The peripheral device is initially in a sleep mode and is configured to wake itself up by detecting the presence of the host device.

In general, in another aspect, the invention provides a method for securely pairing Bluetooth devices including the following steps. First, providing a host device comprising an audio interface and a Bluetooth transceiver. Next, providing a peripheral device comprising an audio interface and a Bluetooth transceiver. Next, connecting the host device and the peripheral device to each other by physically connecting their corresponding audio interfaces. Next, communicating between the host device and the peripheral device by establishing an out-of-band audio communication channel via the connected audio interfaces. Next, exchanging Bluetooth authentication data between the host device and the peripheral device via the out-of-band audio communication channel. Finally, pairing the host device and the peripheral device with each other by establishing an authenticated and cryptographically protected in-band Bluetooth communication channel with each other. The in-band Bluetooth communication channel is established by turning on and initializing the corresponding Bluetooth transceivers with the corresponding exchanged Bluetooth authentication data.

In general, in another aspect, the invention provides a mobile device. The mobile device includes a Bluetooth transceiver, the Bluetooth transceiver being in an idle power state when not securely paired to a second Bluetooth transceiver of a peripheral device. The mobile device further includes an audio interface, the audio interface coupled to the Bluetooth transceiver, the audio interface configured to connect to a second audio interface of the peripheral device. The mobile device is configured to establish an out-of-band audio communication channel to the peripheral device by connecting the audio interface to the second audio interface, the Bluetooth transceiver transitioning from the idle power state to an operating state in response to the connection of the audio interface to the second audio interface, the mobile device configured to exchange Bluetooth authentication data with the peripheral device via the out-of-band audio communication channel in response to transitioning to the operating state, the mobile device configured to initialize the Bluetooth transceiver with the Bluetooth authentication data to establish an authenticated and cryptographically protected in-band Bluetooth communication channel allowing the mobile device to be securely paired with the peripheral device.

Among the advantages of this invention may be one or more of the following. The system provides a simple and efficient way to enable wireless device pairing where control side information is communicated through an out-of-band audio channel.

The details of one or more embodiments of the invention are set forth in the accompanying drawings and description below. Other features, objects and advantages of the invention will be apparent from the following description of the preferred embodiments, the drawings and from the claims.

BRIEF DESCRIPTION OF THE DRAWINGS

For a more complete understanding, reference is now made to the following description taken in conjunction with the accompanying Drawings in which:

FIG. 1 shows the host device and the peripheral device and both devices are equipped with a Bluetooth transceiver and an audio interface; and

FIG. 2 shows an exemplary operation flow of the Bluetooth pairing process with authentication information exchanged through the audio interface.

DETAILED DESCRIPTION

The present invention describes a system and the method for pairing between Bluetooth devices using an out-of-band (OOB) audio channel in a simple and secure manner.

The system in the invention includes a host device and a peripheral device where both are equipped with an audio interface and a Bluetooth transceiver. Initially, the host device and the peripheral devices are not paired up yet. The Bluetooth transceivers on both the host device and the peripheral device can be kept in an OFF state to reduce power and radiation. When the host device and the peripheral device want to pair up for communication through the wireless Bluetooth link, they are connected together through the audio interface. Authentication data and other control information necessary for the Bluetooth pairing up are exchanged through the audio interface. When the pairing data are ready, the Bluetooth transceivers on both sides are turned on and initialized with the pairing data to establish an authenticated and cryptographically protected data communication channel.

FIG. 1 shows the host device 100 and the peripheral device 110. The host device 100 includes a Bluetooth transceiver 101, an audio interface 103, and a microcontroller 102. The microcontroller 102 is responsible for data processing and control among other components within the device 100. The peripheral device 110 includes a Bluetooth transceiver 111, an audio interface 113, and a microcontroller 112. The microcontroller 112 is responsible for data processing and control among other components within the device 110.

The peripheral device 110 is configured to be plugged into the host device 100 and communication occurs over the audio interfaces 113 and 103, respectively, in a wired connection. The peripheral device 110 is also capable of communicating with the host device 100 through a Bluetooth wireless connection. Before the Bluetooth communication can occur, a pairing operation must occur between the two devices where authentication data are exchanged to mutually authenticate one another and establish a common link key to protect the connection cryptographically.

There are two different methods for the pairing: Legacy Pairing and Secure Simple Pairing (SSP). Legacy Pairing, as its name implies, is an older method used in the Bluetooth Core Specifications before version v2.1. In this method, the authentication key is generated by a shared secret PIN code of 1 to 16 bytes in length. The Legacy Pairing method is now considered weak and many devices are using weak PIN codes. For example, many hands-free devices use 0000 or 1234 as the PIN code. Secure Simple Pairing (SSP) is a new pairing method introduced in Bluetooth Core Specifications v2.1 to improve the Legacy Pairing method. SSP is mandatory for any device that implements v2.1 or greater but Legacy Pairing is also required for compatibility reasons. There are four pairing models in SSP depending on the input/output capabilities of the host and peripheral devices: Just Works, Numeric Comparison, Passkey Entry and Out-Of-Band (OOB). In the present invention the method for pairing may be the Legacy Pairing method used before the Bluetooth Core Specifications v2.1 or the Secure Simple Pairing method defined in Bluetooth Core Specifications v2.1.

FIG. 2 shows an exemplary operation flow where the devices 100 and 110 are paired up. Initially, both the host and the peripheral devices can have their Bluetooth transceivers turned OFF to reduce power consumption (201). The peripheral device 110 can be in a sleep mode. When the peripheral device 110 is plugged into the host device through the audio interface (202), the host device 100 detects the presence of the peripheral device (203). Then the host device 100 can turn on the peripheral device 110 to wake it up through the audio interface by a command in the form of frequency tone or data packet. Alternatively, the peripheral device 110 can wake itself up by detecting the presence of the host device 100, for example, by the presence of a signal in the audio channel such as a frequency tone or a DC bias voltage level (204). Authentication information and other side information are exchanged through the audio interface (205). The information includes Device ID or Bluetooth Device Address, PIN code or Simple Pairing Hash C and Simple Pairing Randomizer R. After this pairing data exchange, the host device 100 and the peripheral device 110 both tum on their Bluetooth transceivers and are initialized with the pairing data (206). The Bluetooth transceivers 101 and 111 then establish the Bluetooth connection by a pairing protocol such as Legacy Paring or Secure Simple Pairing (207). After establishing the data channel, data communication between the two devices can be done through their Bluetooth connection.

Several embodiments of the present invention have been described. Nevertheless, it will be understood that various modifications may be made without departing from the spirit and scope of the invention. Accordingly, other embodiments are within the scope of the following claims. 

What is claimed is:
 1. A peripheral device to securely pair with a host device comprising a first audio interface and a first Bluetooth transceiver, the peripheral device comprising: a second audio interface and a second Bluetooth transceiver, the first Bluetooth transceiver and the second Bluetooth transceiver being in an idle power state when the host device and the peripheral device are not securely paired, the peripheral device couples to the first audio interface via the second audio interface, and the peripheral device establishes an out-of-band audio communication channel via the first audio interface and the second audio interface, the peripheral device transmits Bluetooth authentication data to the host device via the out-of-band audio communication channel, the peripheral device receives Bluetooth authentication data transmitted by the host device via the out-of-band audio communication channel, and the peripheral device securely pairs with the host device by establishing an authenticated and cryptographically protected in-band Bluetooth communication channel with the host device, and wherein the in-band Bluetooth communication channel is established by: the host device and the peripheral device turning on the first Bluetooth transceiver and the second Bluetooth transceiver, respectively, the host device initializing the first Bluetooth transceiver using the Bluetooth authentication data transmitted by the peripheral device, the peripheral device initializing the second Bluetooth transceiver using the Bluetooth authentication data received by the peripheral device, and the secure pairing is based on a pairing protocol.
 2. A system for securely pairing devices, the system comprising: a first device comprising a first audio interface and a first Bluetooth transceiver; and a second device comprising a second audio interface and a second Bluetooth transceiver; the first Bluetooth transceiver and the second Bluetooth transceiver being in an idle power state when the first device and the second device are not securely paired; the first device and the second device coupling to each other via their corresponding audio interfaces and establishing an out-of-band audio communication channel through the coupled audio interfaces; the first device and the second device exchanging Bluetooth authentication data via the out-of-band audio communication channel; and the first device and the second device securely pairing with each other by establishing an authenticated and cryptographically protected in-band Bluetooth communication channel with each other and wherein the in-band Bluetooth communication channel is established by: the first device and the second device turning on the first Bluetooth transceiver and the second Bluetooth transceiver, respectively, the first device and the second device initializing the corresponding first Bluetooth transceiver and the second Bluetooth transceiver, respectively, with the exchanged Bluetooth authentication data, and the secure pairing is based on a pairing protocol.
 3. A host device to securely pair with a peripheral device comprising an audio interface and a Bluetooth transceiver, the host device comprising: an audio interface and a Bluetooth transceiver, the Bluetooth transceiver of the host device and the Bluetooth transceiver of the peripheral device being in an idle power state when the host device and the peripheral device are not securely paired; the host device couples to the peripheral device via the audio interface of the host device, and the host device establishes an out-of-band audio communication channel with the peripheral device via the audio interface of the host device and the audio interface of the peripheral device; the host device transmits Bluetooth authentication data to the peripheral device via the out-of-band audio communication channel; the host device receives Bluetooth authentication data from the peripheral device via the out-of-band audio communication channel; and the host device securely pairs with the peripheral device by establishing an authenticated and cryptographically protected in-band Bluetooth communication channel with the peripheral device, and wherein the in-band Bluetooth communication channel is established by: the peripheral device and the host device turning on the Bluetooth transceivers, the peripheral device initializing the peripheral device Bluetooth transceiver using the Bluetooth authentication data transmitted by the host device, the host device initializing the host device Bluetooth transceiver using the Bluetooth authentication data received by the host device, and the secure pairing is based on a pairing protocol.
 4. The peripheral device of claim 1, wherein the peripheral device comprises a computing device.
 5. The peripheral device of claim 1, further comprising the in-band Bluetooth communication channel between the host device and the peripheral device being established automatically.
 6. The peripheral device of claim 1, further comprising performing communications between the host device and the peripheral device via the out-of-band audio communication channel based on one of Manchester coding, Frequency Shifted Keying (FSK), or Phase-Shifted Keying (PSK).
 7. The peripheral device of claim 1, further comprising controlling the turning on of the Bluetooth transceivers through the out-of-band audio communication channel.
 8. The peripheral device of claim 1, wherein: the peripheral device is initially in a sleep mode; and either the peripheral device wakes up in response to a command from the host device, or the peripheral device wakes up based on detection of a presence of the host device.
 9. The peripheral device of claim 8, wherein the command comprises either a frequency tone or a data packet.
 10. The system of claim 2, wherein: the first device is a host device; and the second device is a peripheral device.
 11. The system of claim 2, further comprising controlling the turning on of the Bluetooth transceivers through the out-of-band audio communication channel.
 12. The system of claim 2, further comprising communications between the first device and the second device via the out-of-band audio communication channel being performed based on a modulation.
 13. The system of claim 2, further comprising the first device and the second device pairing with each other based on a Bluetooth pairing protocol.
 14. The system of claim 10, wherein: the peripheral device wakes up based on detection of a presence of the host device; and the detection is based on presence of a signal in the out-of-band audio communication channel.
 15. The system of claim 2, wherein the first device comprises one of a desktop computer, mobile phone, personal digital assistant (PDA), netbook, tablet computer, notebook computer, electronic reader, digital music player, digital video player, game console, or computing circuit.
 16. The host device of claim 3, further comprising the in-band Bluetooth communication channel between the host device and the peripheral device being established automatically.
 17. The host device of claim 3, further wherein the host device and the peripheral device communicate via the out-of-band audio communication channel based on a modulation scheme.
 18. The host device of claim 3, further comprising controlling the turning on of the Bluetooth transceivers through the out-of-band audio communication channel.
 19. The host device of claim 3, wherein: the peripheral device is initially in a sleep mode; and either the host device wakes up the peripheral device, or the peripheral device wakes up based on detection of a presence of the host device.
 20. The host device of claim 3, wherein the host device comprises one of a desktop computer, mobile phone, personal digital assistant (PDA), netbook, tablet computer, notebook computer, electronic reader, digital music player, digital video player, game console, or computing circuit. 